#app {
  width: 100vw;
  display: flex;
  user-select: none;
}
* {
  margin: 0;
  right: 0;
  box-sizing: border-box;
}
.tool-wrap {
  width: 300px;
  border-left: 1px solid #eee;
  padding: 0 10px;
}
.tool-wrap .showList-tool {
  padding: 10px 0;
}
.tool-wrap .rect-wrap {
  max-height: 300px;
  overflow-y: scroll;
}
.tool-wrap .rect-wrap .list-item {
  border: 1px solid #000;
  margin-bottom: 10px;
  padding: 10px;
  position: relative;
}
.tool-wrap .rect-wrap .list-item .delete {
  position: absolute;
  right: 5px;
  top: 5px;
}
.tool-wrap .rect-wrap .list-item div {
  padding-bottom: 5px;
}
.pic-wrap {
  width: calc(100% - 300px);
  min-width: 1000px;
  height: 100vh;
  background-color: #ccc;
  overflow: scroll;
  /* 设置中间的小快 */
  /* 设置滚动区背景 */
}
.pic-wrap::-webkit-scrollbar {
  width: 10px;
}
.pic-wrap::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #333;
}
.pic-wrap::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: #fff;
}
.pic-wrap .rect-item {
  position: absolute;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pic-wrap .save-tool {
  left: 0;
  bottom: -40px;
  position: absolute;
  width: 100px;
}
.pic-wrap .bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.2);
}
.pic-wrap .draw-wrap {
  position: relative;
}
.pic-wrap .draw-wrap .draw-rect {
  position: absolute;
  border: 1px solid #f00;
}
.pic-wrap .draw-wrap img {
  user-select: none;
  pointer-events: none;
  display: none;
}
